module.exports = (app) => {
  const daily_task = require("../controllers/daily_task.controller.js");
  var router = require("express").Router();
  router.get("/", daily_task.getStudySchedule);
  router.get("/getOne", daily_task.getOneStudySchedule);
  router.post("/delete", daily_task.deleteStudySchedule);
  router.post("/insert", daily_task.insertStudySchedule);

  router.post('/listAll',daily_task.listAllTech);

  app.use("/api/dailyTask", router);
};
